import 'package:flutter/material.dart';
class Converstion {

  Converstion({
    this.imgUrl,
    this.title,
    this.des,
    this.time,
    this.isMute,
    this.unReadMessageCount = 0
  }): assert(imgUrl != null),
      assert(time != null),
      assert(title != null),
      assert(des != null);

  final String imgUrl;
  final String title;
  final String des;
  final String time;
  final bool isMute;
  final int unReadMessageCount;
}

List<Converstion> converstions = [
  Converstion(
    imgUrl: 'xxxx',
    title: 'Lily',
    des: 'hello， world, hello, world',
    time: '12:00',
    isMute: true
  ),
  Converstion(
    imgUrl: 'xxxx',
    title: 'Lucy',
    des: 'hello， world, hello, world',
    time: '12:00',
    isMute: false,
    unReadMessageCount: 2,
  ),
  Converstion(
    imgUrl: 'xxxx',
    title: 'Tom',
    des: 'hello， world, hello, world',
    time: '12:00',
    isMute: false,
    unReadMessageCount: 99
  ),
  Converstion(
    imgUrl: 'xxxx',
    title: 'Daiv',
    des: 'hello， world, hello, world',
    time: '12:00',
    isMute: true,
    unReadMessageCount: 3
  ),
  Converstion(
    imgUrl: 'xxxx',
    title: 'Dog',
    des: 'hello， world, hello, world',
    time: '12:00',
    isMute: false,
    unReadMessageCount: 0
  ),
];